//package net.xmmpp.uc.im.bootstrap.web.controller.sentinel;
//
//import com.alibaba.csp.sentinel.annotation.SentinelResource;
//import com.alibaba.csp.sentinel.slots.block.BlockException;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
//@RestController
//public class FlowHelloController {
//
//    @SentinelResource(value = "flowHello", blockHandler = "blockHandlerHello")
//    @GetMapping("/flowHello")
//    public String hello(){
//        return "hello ,Mic";
//    }
//
//    public String blockHandlerHello(BlockException e){
//        return "被限流了";
//    }
//
//
//    @GetMapping("/flowDynamic")
//    public String flowDynamic(){
//        return "Hello Dynamic Rule";
//    }
//}
